/*
 * @describe 用户信息bean
 * @author yisin
 * @date 2015-03-27 00:19:20
 */
package com.yisin.pbox.bean.pojo.system;

import java.io.Serializable;

/**
 * <pre>
 * 用户信息bean
 * </pre>
 * 
 * @author yisin
 * @date 2015-03-27 00:19:20
 * 
 */
@SuppressWarnings("serial")
public class UserInfo implements Serializable {

	private int id; // 主键ID
	private String account; // 帐号
	private String password; // 密码
	private String name; // 姓名
	private String sex; // 性别
	private String nickname; // 昵称
	private String mobile; // 手机号码
	private String email; // 邮箱
	private String qq; // QQ号码
	private String userIp; // 登录IP
	private String province; // 省份
	private String city; // 地市
	private String registerDate; // 注册时间
	private String lastLoginDate; // 最后登录时间
	private int status; // 状态(1:正常,2:禁用)
	private int onlines; // 状态(1:在线,2:离线)
	private String headImage; // 头像

	// 额外属性
	private int size; // 记录数
	private String idstr; // 多个ID字符串
	private String orderby; // 结果列表排序字段
	private String keyword; // 搜索关键字
	private int fromIndex; // 分页开始索引
	private int toIndex; // 分页结束索引

	/**
	 * 主键ID
	 * 
	 * @return the id
	 */
	public int getId() {
		return id;
	}

	/**
	 * 主键ID
	 * 
	 * @param id
	 *            the id to set
	 */
	public void setId(int id) {
		this.id = id;
	}

	/**
	 * 帐号
	 * 
	 * @return the account
	 */
	public String getAccount() {
		return account;
	}

	/**
	 * 帐号
	 * 
	 * @param account
	 *            the account to set
	 */
	public void setAccount(String account) {
		this.account = account;
	}

	/**
	 * 密码
	 * 
	 * @return the password
	 */
	public String getPassword() {
		return password;
	}

	/**
	 * 密码
	 * 
	 * @param password
	 *            the password to set
	 */
	public void setPassword(String password) {
		this.password = password;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	/**
	 * 姓名
	 * 
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * 姓名
	 * 
	 * @param name
	 *            the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * 昵称
	 * 
	 * @return the nickname
	 */
	public String getNickname() {
		return nickname;
	}

	/**
	 * 昵称
	 * 
	 * @param nickname
	 *            the nickname to set
	 */
	public void setNickname(String nickname) {
		this.nickname = nickname;
	}

	public String getRegisterDate() {
		return registerDate;
	}

	public void setRegisterDate(String registerDate) {
		this.registerDate = registerDate;
	}

	public String getHeadImage() {
		return headImage;
	}

	public void setHeadImage(String headImage) {
		this.headImage = headImage;
	}

	/**
	 * 手机号码
	 * 
	 * @return the mobile
	 */
	public String getMobile() {
		return mobile;
	}

	/**
	 * 手机号码
	 * 
	 * @param mobile
	 *            the mobile to set
	 */
	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	/**
	 * 邮箱
	 * 
	 * @return the email
	 */
	public String getEmail() {
		return email;
	}

	/**
	 * 邮箱
	 * 
	 * @param email
	 *            the email to set
	 */
	public void setEmail(String email) {
		this.email = email;
	}

	public String getUserIp() {
		return userIp;
	}

	public void setUserIp(String userIp) {
		this.userIp = userIp;
	}

	/**
	 * QQ号码
	 * 
	 * @return the qq
	 */
	public String getQq() {
		return qq;
	}

	/**
	 * QQ号码
	 * 
	 * @param qq
	 *            the qq to set
	 */
	public void setQq(String qq) {
		this.qq = qq;
	}

	/**
	 * 省份
	 * 
	 * @return the province
	 */
	public String getProvince() {
		return province;
	}

	/**
	 * 省份
	 * 
	 * @param province
	 *            the province to set
	 */
	public void setProvince(String province) {
		this.province = province;
	}

	/**
	 * 地市
	 * 
	 * @return the city
	 */
	public String getCity() {
		return city;
	}

	/**
	 * 地市
	 * 
	 * @param city
	 *            the city to set
	 */
	public void setCity(String city) {
		this.city = city;
	}

	/**
	 * 状态(1:正常,2:禁用)
	 * 
	 * @return the status
	 */
	public int getStatus() {
		return status;
	}

	/**
	 * 状态(1:正常,2:禁用)
	 * 
	 * @param status
	 *            the status to set
	 */
	public void setStatus(int status) {
		this.status = status;
	}

	public String getLastLoginDate() {
		return lastLoginDate;
	}

	public void setLastLoginDate(String lastLoginDate) {
		this.lastLoginDate = lastLoginDate;
	}

	public int getOnlines() {
		return onlines;
	}

	public void setOnlines(int onlines) {
		this.onlines = onlines;
	}

	/**
	 * 搜索关键字
	 * 
	 * @return the keyword
	 */
	public String getKeyword() {
		return keyword;
	}

	/**
	 * 搜索关键字
	 * 
	 * @param keyword
	 *            the keyword to set
	 */
	public void setKeyword(String keyword) {
		this.keyword = keyword;
	}

	/**
	 * 结果列表排序字段
	 * 
	 * @param orderby
	 *            the orderby to set
	 */
	public void setOrderby(String orderby) {
		this.orderby = orderby;
	}

	/**
	 * 结果列表排序字段
	 * 
	 * @return the orderby
	 */
	public String getOrderby() {
		return orderby;
	}

	/**
	 * 多个ID字符串
	 * 
	 * @param idstr
	 *            the idstr to set
	 */
	public void setIdstr(String idstr) {
		this.idstr = idstr;
	}

	/**
	 * 多个ID字符串
	 * 
	 * @return the idstr
	 */
	public String getIdstr() {
		return idstr;
	}

	/**
	 * 分页开始索引
	 * 
	 * @return the fromIndex
	 */
	public int getFromIndex() {
		return fromIndex;
	}

	/**
	 * 分页开始索引
	 * 
	 * @param fromIndex
	 *            the fromIndex to set
	 */
	public void setFromIndex(int fromIndex) {
		this.fromIndex = fromIndex;
	}

	/**
	 * 分页结束索引
	 * 
	 * @return the toIndex
	 */
	public int getToIndex() {
		return toIndex;
	}

	/**
	 * 分页结束索引
	 * 
	 * @param toIndex
	 *            the toIndex to set
	 */
	public void setToIndex(int toIndex) {
		this.toIndex = toIndex;
	}

	/**
	 * 记录数
	 * 
	 * @param size
	 *            the size to set
	 */
	public void setSize(int size) {
		this.size = size;
	}

	/**
	 * 记录数
	 * 
	 * @return the size
	 */
	public int getSize() {
		return size;
	}

}
